package com.hoshiibuy.sku.service;

import com.hoshiibuy.sku.entity.BaseSkuGallery;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.sku.entity.BaseSkuGallery;

/**
 * <p>
 * 基础SKU商品图片资源 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-05-05
 */
public interface BaseSkuGalleryService extends IService<BaseSkuGallery> {

    BaseSkuGallery getById(Long id);

    boolean save(BaseSkuGallery entity);

    boolean updateById(BaseSkuGallery entity);

    IPage<BaseSkuGallery> page(IPage<BaseSkuGallery> page, Wrapper<BaseSkuGallery> queryWrapper);
}
